﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Simhopp.Database;
using Simhopp.Model;
using Simhopp.GUI;

namespace Simhopp.Presenter
{
    class PresenterCompetition
    {
        public ICompetition _competition { get; set; }
        public InterfaceDBConnect _database { get; set; }

        public PresenterCompetition(ICompetition model, InterfaceDBConnect database)
        {
            this._competition = model;
            this._database = database;

            this._competition.EventAddJudge += AddJudge;
        }

        public void AddJudge(string Name, Countries Nationality,
            string Password, string Username)
        {
            //this._database.AddJudge(Name, Nationality,
            //Password, Username);
        }
    }
}
